<?php
/* [$WindsForce] (C)Hunzhiwange.COM Since 2012.03.17.
   安装用户控制器($$)*/

!defined('Q_PATH') && exit;

class ServiceinstallController extends AController{

	public function filter_(&$arrMap){
		$arrMap['A.serviceinstall_domain']=array('like','%'.Q::G('serviceinstall_domain').'%');
		$arrMap['A.serviceinstall_version']=array('like','%'.Q::G('serviceinstall_version').'%');
		$arrMap['A.serviceinstall_release']=array('like','%'.Q::G('serviceinstall_release').'%');
		$arrMap['A.serviceinstall_bug']=array('like','%'.Q::G('serviceinstall_bug').'%');

		// 添加时间
		$this->getTime_('A.create_dateline',$arrMap);
	}

	public function index($sModel=null,$bDisplay=true){
		parent::index('serviceinstall',false);
		$this->display(Admin_Extend::template('service','serviceinstall/index'));
	}

	public function foreverdelete_deep($sModel=null,$sId=null,$bApp=false){
		$sId=Q::G('value');
		parent::foreverdelete_deep('serviceinstall',$sId);
	}

}
